Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Feb 5, 2025

We did not have the on_shutdown method implemented which gets called by the resource manager when shutting down. This could potentially result in crashes or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor, which isn't correct either. That got deleted.

We did not have the on_shutdown method implemented which gets called by the
resource manager when shutting down. This could potentially result in crashes
or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor,
which isn't correct either. That got deleted.
@urfeex urfeex requested a review from a team February 5, 2025 15:32
@codecov
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.76%. Comparing base (1b121b7) to head (820d402).
Report is 394 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1270      +/-   ##
========================================
+ Coverage   3.59%   3.76%   +0.17%     
========================================
  Files         13     393     +380     
  Lines        947   43515   +42568     
  Branches     152    6420    +6268     
========================================
+ Hits          34    1640    +1606     
- Misses       843   41732   +40889     
- Partials      70     143      +73     
Flag Coverage Δ
unittests 3.76% <ø> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@urfeex urfeex merged commit 36b5c3d into UniversalRobots:main Feb 6, 2025
10 of 14 checks passed
@urfeex urfeex deleted the fix_shutdown branch February 6, 2025 10:20
mergify bot pushed a commit that referenced this pull request Feb 6, 2025
We did not have the on_shutdown method implemented which gets called by the
resource manager when shutting down. This could potentially result in crashes
or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor,
which isn't correct either. That got deleted.

(cherry picked from commit 36b5c3d)
urfeex pushed a commit that referenced this pull request Feb 7, 2025
We did not have the on_shutdown method implemented which gets called by the
resource manager when shutting down. This could potentially result in crashes
or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor,
which isn't correct either. That got deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants